<div ms-controller="setup" class="setup">
	<header class="ui-bar ui-bar-nav">
		<h1 class="ui-title">设置</h1>
	</header>
	<div class="main setupMain">
		<ul>
			<!--<li class="row" ms-if="!user.headphoto">
				<div class="small-3 medium-3 large-3 columns">
					<img src="modules/img/noLogin.png" />
				</div>
				<div class="small-9 medium-9 large-9 columns">
					<div class="row">
						<h2 class="small-4 medium-4 large-4 columns">未登录</h2>
						<button class="small-8 medium-8 large-8 columns"></button>
					</div>
				</div>
			</li>-->
			<li class="row" >
				<div class="small-2 medium-2 large-2 columns" style="height:4em;">
					<img ms-if="user.headphoto==null||user.headphoto=='null'" src="modules/img/noLogin.png" />
					<img ms-if="user.headphoto!=null&&user.headphoto!='null'" ms-src="user.headphoto" />
				</div>
				<div class="small-10 medium-10 large-10 columns" ms-click="info">
					<div class="row">
						<h2 style="padding-left:5px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="small-10 medium-10 large-10 columns">我({{user.userName}})</h2>
						<button class="small-2 medium-2 large-2 columns"></button>
					</div>
				</div>
			</li>
			<li class="row moveOut">
				<h2 class="small-6 medium-6 large-6 columns">设备管理</h2>
				<div class="small-6 medium-6 large-6 columns">1台</div>
			</li>
			<li class="row moveOut">
				<h2 class="small-6 medium-6 large-6 columns">意见反馈</h2>
				<div class="small-6 medium-6 large-6 columns" ms-click="feedBack"></div>
			</li>
			<li class="row moveOut">
				<h2 class="small-6 medium-6 large-6 columns">关于我们</h2>
				<div class="small-6 medium-6 large-6 columns" ms-click="about"></div>
			</li>
		</ul>
		<div class="row loginBtn" style="display: none;">
			<button class="small-12 medium-12 large-12" ms-if='!user'>您未登录</button>
			<button class="small-12 medium-12 large-12" ms-if='user'>退出登录</button>
		</div>
	</div>
	<select disabled="disabled"></select>
	
	<footer class="footer row">
		<ul class="small-12 medium-12 large-12">
			<li class="small-6 medium-6 large-6 columns" ms-click="home">
				<i class="iconfont">&#xe649;</i>
				<h2>家人</h2>
			</li>
			<li class="small-6 medium-6 large-6 columns current">
				<i class="iconfont">&#xe600;</i>
				<h2>设置</h2>
			</li>
		</ul>
	</footer>
</div>